package backstage.app.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * 非学员类型表
 * @author xwt
 *
 */
@TableName("no_student_type")
@Data
public class NoStudentType  implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7198560993579673296L;

	@TableId(type= IdType.AUTO)
	@TableField("id")
    private Integer id;

	@TableField("names")
    private String names;
	
	
    @TableField("create_time")
   	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @TableField("student_type")
    private Integer studentType;

    @TableField(exist = false)
    private List<Student> listStudent;
    
    @TableField(exist = false)
    private Integer total;
  
}